drivers/mmc: make mmc_ext_csd aligned with 16 char
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Thu, 2 Aug 2018 06:50:12 +0000 (14:50 +0800)
committerHaojian Zhuang <haojian.zhuang@linaro.org>
Fri, 10 Aug 2018 09:11:12 +0000 (17:11 +0800)
commit07858dd809dab5d3802e707c99c084cce3304824
tree939783241e3fc31d00a0a3d351bc5c4479fcb4ab
parentea315a69de68a664d774c68088b0e4f48b1303e1
drivers/mmc: make mmc_ext_csd aligned with 16 char

DMA is always used in mmc driver. So the buffer address should
always follow the DMA limitation.

There're same requirement in mmc_read_blocks()/mmc_write_blocks()
on parameter buf. Since parameter buf comes from io_block driver,
it's already handled in io_block driver.

At here, just make the minimum address alignment on 16 chars.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
drivers/mmc/mmc.c